xenpaging: pass integer to xenpaging_populate_page
authorOlaf Hering <olaf@aepfle.de>
Fri, 10 Jun 2011 08:47:24 +0000 (10:47 +0200)
committerOlaf Hering <olaf@aepfle.de>
Fri, 10 Jun 2011 08:47:24 +0000 (10:47 +0200)
commita060af0ecc8f7b0abbccce1b0a12abd73e57cf90
tree23d4b239dcbffe252f33ab83c1bdcbc8154c6a0f
parent46a3d35ca3f76b2b2b0e3fdf9036ec1e279ef8cb
xenpaging: pass integer to xenpaging_populate_page

Pass gfn as integer to xenpaging_populate_page(). xc_map_foreign_pages()
takes a pointer to a list of gfns, but its a const pointer. So writing
the value back to the caller is not needed.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Committed-by: Ian Jackson <ian.jackson.citrix.com>
tools/xenpaging/xenpaging.c